package miao.demo.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

//设定当前类为配置类
@Configuration()

//设定扫描路径；该注解只能配置一次，多个路径用数组表示
@ComponentScan({"miao.demo.dao"})
public class SpringConfig {
}
